Fast algorithms for (max, min)-matrix multiplication and bottleneck shortest paths

نویسندگان

  • Ran Duan
  • Seth Pettie
چکیده

Given a directed graph with a capacity on each edge, the all-pairs bottleneck paths (APBP) problem is to determine, for all vertices s and t, the maximum flow that can be routed from s to t. For dense graphs this problem is equivalent to that of computing the (max,min)transitive closure of a real-valued matrix. In this paper, we give a (max,min)-matrix multiplication algorithm running in time O(n) ≤ O(n), where ω is the exponent of binary matrix multiplication. Our algorithm improves on a recent O(n) ≤ O(n)time algorithm of Vassilevska, Williams, and Yuster. Although our algorithm is slower than the best APBP algorithm on vertex capacitated graphs, running in O(n) time, it is just as efficient as the best algorithm for computing the dominance product, a problem closely related to (max,min)-matrix multiplication. Our techniques can be extended to give subcubic algorithms for related bottleneck problems. The allpairs bottleneck shortest paths problem (APBSP) asks for the maximum flow that can be routed along a shortest path. We give an APBSP algorithm for edgecapacitated graphs running in O(n) time and a slightly faster O(n)-time algorithm for vertexcapactitated graphs. The second algorithm significantly improves on an O(n)-time APBSP algorithm of Shapira, Yuster, and Zwick. Our APBSP algorithms make use of new hybrid products we call the distancemax-min product and dominance-distance product.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

All Pairs Bottleneck Paths and Max-Min Matrix Products in Truly Subcubic Time

In the all-pairs bottleneck paths (APBP) problem, one is given a directed graph with real capacities on its edges and is asked to determine, for all pairs of vertices s and t, the capacity of a single path for which a maximum amount of flow can be routed from s to t. The APBP problem was first studied in operations research, shortly after the introduction of maximum flows and all-pairs shortest...

متن کامل

One to rule them all: a general method for fast computation on semirings isomorphic to $(\times, \max)$ on $\mathbb{R}_+$

Important problems across multiple disciplines involve computations on the semiring (×,max) (or its equivalents, the negated version (×,min)), the log-transformed version (+,max), or the negated log-transformed version (+,min)): max-convolution, all-pairs shortest paths in a weighted graph, and finding the largest k values in xi + yj for two lists x and y. However, fast algorithms such as those...

متن کامل

Combining Shortest Paths, Bottleneck Paths and Matrix Multiplication

We provide a formal mathematical definition of the Shortest Paths for All Flows (SP-AF) problem and provide many efficient algorithms. The SP-AF problem combines the well known Shortest Paths (SP) and Bottleneck Paths (BP) problems, and can be solved by utilising matrix multiplication. Thus in our research of the SP-AF problem, we also make a series of contributions to the underlying topics of ...

متن کامل

Dominance Product and High-Dimensional Closest Pair under L_infty

Given a set S of n points in R, the Closest Pair problem is to find a pair of distinct points in S at minimum distance. When d is constant, there are efficient algorithms that solve this problem, and fast approximate solutions for general d. However, obtaining an exact solution in very high dimensions seems to be much less understood. We consider the high-dimensional L∞ Closest Pair problem, wh...

متن کامل

Solved and Unsolved in Elementary Algorithms

ion of shortest-paths problem: Definition 19. A commutative semi-ring is a set K and two operations ⊗,⊕ satisfying: 1. ⊕ is commutative and associative; there is an identity “0” s.t. k + 0 = k for all k ∈ K. 2. ⊗ is commutative and associative; there is a multiplicative identity “1” s.t. k ⊗ 1 = k for all k ∈ K. 3. The distributive law holds: a⊗ (b⊕ c) = (a⊗ b)⊕ (a⊗ c). Definition 20. The min-s...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009